/**
 * 订单管理相关接口
 */
import request from '@/utils/request'

// 获取订单列表
export function getOrderList(data) {
  return request({
    url: '/manager/order-manager/order/page',
    method: 'post',
    data
  })
}

// 获取详情
export function getOrderDetail(id) {
  return request({
    url: `/manager/order-manager/order/${id}`
  })
}

// 获取货品信息
export function getCargoList(id) {
  return request({
    url: `/manager/order-manager/cargo`,
    method: 'get',
    params: {
      orderId: id
    }
  })
}

